/*
 * Author: Andrew Shore
 * CSCE 145 Section 004
 * Lab Test 2
 */
public abstract class Building {
	private String name;
	private String city;
	private int numberOfFloors;

	//constructors
	//default constructor
	public Building(){
		name="";
		city="";
		numberOfFloors=0;
		
	}
	public Building(String aName,String aCity, int number){
		name=aName;
		city=aCity;
		numberOfFloors=number;
	}
	//accessors
	public String getName(){
		return name;
	}
	public String getCity(){
		return city;
	}
	public int getFloors(){
		return numberOfFloors;
	}
	//mutators
	public void setName(String aName){
		name=aName;
	}
	public void setCity(String aCity){
		city=aCity;
	}
	public void setFloors(int a){
		numberOfFloors=a;
	}
	
	//other member methods
	//abstract print method defined in subclasses
	abstract void printInfo();
}
